package com.agritech.smartfarming.model;

/**
 * 农机设备状态枚举
 * 状态模式
 */
public enum MachineStatus {
    IDLE("空闲"),
    WORKING("作业中"),
    MOVING("移动中"),
    CHARGING("充电中"),
    MAINTENANCE("维护中"),
    ERROR("故障"),
    OFFLINE("离线");
    
    private final String description;
    
    MachineStatus(String description) {
        this.description = description;
    }
    
    public String getDescription() {
        return description;
    }
    
    @Override
    public String toString() {
        return description;
    }
} 